- 
		Home
	
 
	- 
Backup Migration
 
- 
1.2.3
 
- 
Code
 
- 
Classes
 
-  BMI_Ajax 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											646 | 
										
																			
											| Dependencies | 
											17 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,677 | 
										
																			
											| Lines of code | 
											1,957 | 
										
																			
											| Logical lines of code | 
											1,590 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											193 | 
										
																			
											| Methods | 
											47 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 47
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| restoreBackup() | 
									D  | 
																	20  | 
													56 | 
													180 | 
							
					
				| parseFilesForBackup() | 
									D  | 
																	23  | 
													58 | 
													144 | 
							
					
				| saveOtherOptions() | 
									D  | 
																	25  | 
													54 | 
													133 | 
							
					
				| prepareAndMakeBackup() | 
									D  | 
																	23  | 
													50 | 
													152 | 
							
					
				| saveFilesConfig() | 
									D  | 
																	26  | 
													45 | 
													130 | 
							
					
				| __construct() | 
									D  | 
																	33 | 
													36 | 
													79 | 
							
					
				| createBackup() | 
									D  | 
																	34 | 
													36 | 
													75 | 
							
					
				| scanFilesForBackup() | 
									D  | 
																	32 | 
													32 | 
													93 | 
							
					
				| handleQuickMigration() | 
									C  | 
																	29 | 
													27 | 
													114 | 
							
					
				| calculateCron() | 
									C  | 
																	33 | 
													26 | 
													91 | 
							
					
				| sendTroubleshootingDetails() | 
									B  | 
																	33 | 
													21 | 
													93 | 
							
					
				| migrationExceptionHandler() | 
									B  | 
																	36 | 
													21 | 
													68 | 
							
					
				| forceRestoreToStop() | 
									B  | 
																	40 | 
													22 | 
													52 | 
							
					
				| backupErrorHandler() | 
									B  | 
																	40 | 
													19 | 
													52 | 
							
					
				| forceBackupToStop() | 
									B  | 
																	42 | 
													19 | 
													45 | 
							
					
				| saveStorageConfig() | 
									A  | 
																	43 | 
													13 | 
													45 | 
							
					
				| isMigrationLocked() | 
									A  | 
																	50 | 
													10 | 
													25 | 
							
					
				| checkIfPHPCliExist() | 
									A  | 
																	48 | 
													9 | 
													31 | 
							
					
				| rrmdir() | 
									A  | 
																	55 | 
													9 | 
													19 | 
							
					
				| saveStorageTypeConfig() | 
									A  | 
																	47 | 
													8 | 
													32 | 
							
					
				| resetLatestLogs() | 
									S  | 
																	51 | 
													6 | 
													24 | 
							
					
				| downloadFile() | 
									S  | 
																	47 | 
													5 | 
													36 | 
							
					
				| removeBackupFile() | 
									S  | 
																	54 | 
													6 | 
													19 | 
							
					
				| dirSize() | 
									S  | 
																	55 | 
													6 | 
													18 | 
							
					
				| sendTestMail() | 
									S  | 
																	59 | 
													5 | 
													13 | 
							
					
				| isRunningBackup() | 
									S  | 
																	60 | 
													5 | 
													11 | 
							
					
				| getLatestBackupFile() | 
									S  | 
																	54 | 
													4 | 
													20 | 
							
					
				| toggleBackupLock() | 
									S  | 
																	57 | 
													4 | 
													15 | 
							
					
				| logSharing() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| makeBackupName() | 
									S  | 
																	48 | 
													2 | 
													33 | 
							
					
				| getDynamicNames() | 
									S  | 
																	57 | 
													3 | 
													17 | 
							
					
				| siteURL() | 
									S  | 
																	69 | 
													4 | 
													5 | 
							
					
				| revertUnameProcess() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| stopBackup() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| fixUnameFunction() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| resetConfiguration() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| migrationErrorHandler() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| backupExceptionHandler() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| fixLitespeed() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| revertLitespeed() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| continueRestoreProcess() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| getBackupsList() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| handleChunkUpload() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getSiteData() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| dismissErrorNotice() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| actionsAfterProcess() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| debugging() | 
									S  | 
																	91 | 
													1 | 
													2 |